package se.gala.wallet;

import se.gala.money.Currencies;
import se.gala.users.PlayerBalance;
import se.gala.utils.GGObject;

final public class WalletFacade extends GGObject {
	
	private static WalletFacade instance;
	
	private WalletFacade() {
		// TODO implement real Wallet integration
	}
	
	public static synchronized WalletFacade getInstance() {
		if (instance == null) {
			instance = new WalletFacade();
		}
		return instance;
	}
	
	public Object getPlayerInfoById(String externalId) {
		// TODO implement WalletFacade.getPlayerInfoById
		return new Object();
	}
	
	public PlayerBalance getPlayerBalanceById(String externalId) {
		// TODO implement WalletFacade.getPlayerBalanceById
		return new PlayerBalance(Currencies.EUR);
	}
}
